from app.api import flk, CommonReq, process_request_decorator
from compareResult.main import compareBusinessOverview





@flk.route('/businessOverview/<int:storeId>', methods=['GET', 'POST'])
@process_request_decorator
def demo(storeId):
    if CommonReq.checkReq():
        resp = CommonReq.process_request()
        resp = resp.get_json()
        resp['storeId'] = storeId
        return resp
    else:
        print(CommonReq.process_request())
        return dict()


